//
//  WorkSummaryCommentInfo.m
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 16/12/23.
//  Copyright © 2016年 com.xtion.crm. All rights reserved.
//

#import "WorkSummaryCommentInfo.h"

static XMSQueueDictionary *s_jsonPair;

@implementation WorkSummaryCommentInfo

-(id)init
{
    self = [super init];
    
    self.rowHeight = CaleRowHeightTag;
    
    return self;
}

+ (void)initialize
{
    if(s_jsonPair == nil)
    {
        XMSQueueDictionary *qd = [[XMSQueueDictionary alloc]initWithStoreClass:[CDBColPropertyPair class]];
        [qd addKey:@"ID" value:@"workSummaryCommentId"];
        [qd addKey:@"WorkSummaryID" value:@"workSummaryId"];
        [qd addKey:@"CommentContent" value:@"commentContent"];
        [qd addKey:@"CreaetTime" value:@"createTime"];
        [qd addKey:@"CreateUser" value:@"createUser"];
        
        s_jsonPair = [CTransformHTTPRESTObj registerJSONObjectClass:[WorkSummaryCommentInfo class] JSONKeyPair:qd];
    }
}

+ (XMSQueueDictionary *)JSONObjectProperty:(NSArray *)JSONKeys
{
    return [CTransformHTTPRESTObj JSONObjectMap:s_jsonPair propertyWithJSONKey:JSONKeys];
}

@end
